<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>VUE样式绑定-内联样式</title>
        <script type="text/javascript" src="https://unpkg.com/vue/dist/vue.js"></script>
    </head>
    <body>
        <div id="app">
            <div :style="{color: statusColor, 'font-size': statusFontSize + 'pt'}">
                状态：新建
            </div>
            颜色<input v-model="statusColor"/><br/>
            字体大小<input v-model="statusFontSize"/>
        </div>
    </body>
    <script type="text/javascript">
        var vueObj = new Vue({
            el: '#app',
            data: {
                statusColor: "tomato",
                statusFontSize: 30
            }
        });
    </script>
</html>